﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />

<script type="text/javascript">

        $(document).ready(function () {
        	
        
        	//给当前自己是第几图表编号
            $('.chartPane').each(function(i,chart){
            	var index = $('.chartPane').index($(this));
            	$(this).attr('alt',index);
        
            	$(this).attr('typeno',$('.typeno').eq(index).val());
            	$(this).find(".block").children('div').attr('id','chart'+index);
            	
            });
            
        	
        	//alert(initArray);
        });
    </script>

</head>
<body>
	<div class="container_12 chartPane">
<input  type="hidden" name="modelname" value="${param.modelname}"/>
<input  type="hidden" name="methodname" value="${param.methodname}"/>
<input  type="hidden" name="idno" value="${param.idno}"/>
<input  type="hidden" name="titlename" value="${param.titlename}"/>
<input  type="hidden" name="type" value="${param.type}" class="typeno"/>


		<div class="grid_10">
		<!-- 每个图通过id和js配合生成图标 -->
			<div class="box round first">
				<h2>Product Sales</h2>
				<div class="block">
					<div></div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
